package com.learn.springboot3;

import java.util.List;

/**
 * ClassName: DataBean
 * Package: com.learn.springboot3.pojo
 * Description:
 *
 * @Author jiangCheng
 * @Create 2024/10/12 10:22
 * @Version 1.0
 */
public class DataBean {


    /**
     * logs : [{"date":"2024-10-12T09:11:02+08:00","dateStr":"Oct 12 09:11:02","area":"本机地址","user":"root","authMode":"authenticating","address":"127.0.0.1","port":"48728","status":"Failed","message":"Connection closed by authenticating user root 127.0.0.1 port 48728 [preauth]"},{"date":"2024-10-12T01:05:49+08:00","dateStr":"Oct 12 01:05:49","area":"越南","user":"root","authMode":"authenticating","address":"45.119.83.211","port":"32818","status":"Failed","message":"Connection closed by authenticating user root 45.119.83.211 port 32818 [preauth]"},{"date":"2024-10-12T01:05:49+08:00","dateStr":"Oct 12 01:05:49","area":"越南","user":"root","authMode":"password","address":"45.119.83.211","port":"32818","status":"Failed","message":"Failed password for root from 45.119.83.211 port 32818 ssh2"},{"date":"2024-10-12T00:09:15+08:00","dateStr":"Oct 12 00:09:15","area":"越南","user":"root","authMode":"authenticating","address":"45.119.83.211","port":"45044","status":"Failed","message":"Connection closed by authenticating user root 45.119.83.211 port 45044 [preauth]"},{"date":"2024-10-12T00:09:15+08:00","dateStr":"Oct 12 00:09:15","area":"越南","user":"root","authMode":"password","address":"45.119.83.211","port":"45044","status":"Failed","message":"Failed password for root from 45.119.83.211 port 45044 ssh2"},{"date":"2024-10-11T23:53:10+08:00","dateStr":"Oct 11 23:53:10","area":"越南","user":"root","authMode":"authenticating","address":"45.119.83.211","port":"44624","status":"Failed","message":"Connection closed by authenticating user root 45.119.83.211 port 44624 [preauth]"},{"date":"2024-10-11T23:53:10+08:00","dateStr":"Oct 11 23:53:10","area":"越南","user":"root","authMode":"password","address":"45.119.83.211","port":"44624","status":"Failed","message":"Failed password for root from 45.119.83.211 port 44624 ssh2"},{"date":"2024-10-11T22:55:38+08:00","dateStr":"Oct 11 22:55:38","area":"本机地址","user":"root","authMode":"authenticating","address":"127.0.0.1","port":"40748","status":"Failed","message":"Connection closed by authenticating user root 127.0.0.1 port 40748 [preauth]"},{"date":"2024-10-11T22:53:20+08:00","dateStr":"Oct 11 22:53:20","area":"上海市青浦区","user":"root","authMode":"password","address":"114.83.124.90","port":"4879","status":"Success","message":""},{"date":"2024-10-11T21:41:38+08:00","dateStr":"Oct 11 21:41:38","area":"越南","user":"root","authMode":"authenticating","address":"45.119.83.211","port":"41984","status":"Failed","message":"Connection closed by authenticating user root 45.119.83.211 port 41984 [preauth]"}]
     * totalCount : 5543
     * successfulCount : 4
     * failedCount : 5539
     */

    private int totalCount;
    private int successfulCount;
    private int failedCount;
    private List<LogsBean> logs;

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getSuccessfulCount() {
        return successfulCount;
    }

    public void setSuccessfulCount(int successfulCount) {
        this.successfulCount = successfulCount;
    }

    public int getFailedCount() {
        return failedCount;
    }

    public void setFailedCount(int failedCount) {
        this.failedCount = failedCount;
    }

    public List<LogsBean> getLogs() {
        return logs;
    }

    public void setLogs(List<LogsBean> logs) {
        this.logs = logs;
    }


    @Override
    public String toString() {
        return "DataBean{" +
                "totalCount=" + totalCount +
                ", successfulCount=" + successfulCount +
                ", failedCount=" + failedCount +
                ", logs=" + logs +
                '}';
    }
}
